<?php !defined('IN_DSW') && exit('大神你要飞呀');?>
{Tinwin include:top}
{Tinwin include:left}
<div class="main">
	<div class="position">
		<ul>
			<li><a href="{Tinwin c:ADMIN_URL}index">后台首页</a></li>
			<li>/</li>
			<li>{Tinwin $FormTitle}</li>
		</ul>
    </div>
    <div class="mainform">
        {Tinwin include:nav}
    </div>    
	<div class="maininfo">
        <form action="{Tinwin $FormAction}" method="post">
        <table class="table">
            <thead>
                <tr>
                    <td>选择</td>
                    <td>出错时间</td>
                    <td>IP</td>
                    <td>错误页面</td>
                    <td>删除</td>
                </tr>
            </thead>
            <tbody>
                {Tinwin if $ListAll['data']}
                {Tinwin tree $ListAll['data'],mylist,cid}
                <tr>
                    <td><input type="checkbox" name="SelectCheckbox[]" value="{Tinwin v:mylist['id']}"></td>
                    <td>{Tinwin date:v:mylist['addtime'],'Y-m-d H:i:s'}</td>
                    <td>{Tinwin v:mylist['ip']}</td>
                    <td><a target="_blank" href="{Tinwin v:mylist['errorpage']}">{Tinwin v:mylist['errorpage']}</a></td>
                    <td><a class="glyphicon glyphicon-remove" href="#" onclick='dswfirm("{Tinwin c:MyAppUrl}index-del&id={Tinwin v:mylist['id']}","删除错误页记录?")'></a></td>
                </tr>
                {Tinwin endtree}
                {Tinwin endif}
            </tbody>
        </table>
        <div class="">
            <a onClick="choiceAll(this)" style="cursor:pointer;" class="btn btn-default">全选</a> 
            <a style="cursor:pointer;" onClick="unSelect(this)" class="btn btn-default">全不选</a> 
            <a style="cursor:pointer;" onClick="choiceReverse(this)" class="btn btn-default">反选</a>
            <button type="submit" class="btn btn-primary">删除</button>
        </div>	
        <div class="page"><section><ul>{Tinwin $ListAll['pages']}</ul></section></div>
        </form>
	</div>
</div>
{Tinwin include:footer}
